Bug 1924255 - [RFE] Global Registration: Add character limit to the Token lifetime (hours) field
Summary: [RFE] Global Registration: Add character limit to the Token lifetime (hours) ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Registration
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.10.0
Assignee: Leos Stejskal
QA Contact: Stephen Wadeley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-02 21:08 UTC by Dhaval Joshi
Modified: 2021-11-16 14:10 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-16 14:10:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 31240 0 Normal New Registration Form - React way & UX improvements 2021-02-10 13:34:54 UTC
Red Hat Knowledge Base (Solution) 5906701 0 None None None 2021-03-25 14:38:12 UTC
Red Hat Product Errata RHSA-2021:4702 0 None None None 2021-11-16 14:10:12 UTC

Description Dhaval Joshi 2021-02-02 21:08:13 UTC
Description of problem:

On the global registration page, there should be some character limit to the field "Token lifetime (hours)".

For example - 32 digits or 64 digits


I've entered the below number and I did not get any error or warning message.
999999999999999999999999999999999999999999991111111111122222222222222444444444444444445555555555555555555558888888888888888888889999999999999999999900000000011111111112222222222333333333333334444444444445555555555555666666666666777777777788888889999999900000000099999999999999999999999999999999999999999999999991111111112222222222333333333333444444444444455555555555666666666677777777777777788888888889999999999999900000000000000001111111111111111111222222222222222222223333333333333333334444444444444444555555555555566666666666666666777777777777777777778888888888888888999999999999999900000000000000000

I was able to generate the below command successfully.

curl -X GET "https://dhjoshi-rhsat.syslab.pnq2.redhat.com:9090/register?activation_key=Custom_EPEL&location_id=2&operatingsystem_id=1&organization_id=1" -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo0LCJ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ST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31240 has been resolved.

Comment 5 errata-xmlrpc 2021-11-16 14:10:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.10 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4702


Note You need to log in before you can comment on or make changes to this bug.