OAuth2.0 not allowing to create new custom authentication profile. Please enter a valid URL including the protocol (http://, https

Hello,

I’m trying to create new custom oauth2.0 authentication profile but always ended up with below error:

Access token endpoint—

Please enter a valid URL including the protocol (http://, https:// etc.)

I have attached the screenshot of configurations. Can someone suggest me what am i missing?

@ArulMano we are facing the same issue did you solve it and hints ?

@ahmeds11 we don’t have a proper solution. But we are able to save this authentication profile by commenting the validation steps in activity named as “pyValidateOAuth20ProviderDetails”.

Comment the 3rd step in the activity “pyValidateOAuth20ProviderDetails” and try saving the authentication profile. it will work.

@ArulMano thanks for your reply it helps

you can find also the reason for this issue :

these inputs are under PEGA regex validation and if you put URL with no standard format you will face this issue for example:

https://test1.test2.com.local … this URL is not following standard URL format or PEGA regex

and you need to contact to service provider to support you with new URL to be like “htttps://test1.test2.local.com”

i hope this helps