FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

13340 questions

15854 answers

25641 comments

50336 members

0 votes
147 views 3 comments
by

I am trying authorize endpoint for RMS API with document .
 I tried with following URL for authorize endpoint.

https://rms.teltonika-networks.com/account/authorize?client_id=9251e430-6216-4e88-82f9-a006a985d33c&redirect_uri=http%3a%2f%2flocalhost%3a8080%2f&response_type=code&state=Y2M1NDFkZTdkMjA2NGQ5MTZhZWY2OTA5ODI1MDQzNTg2MDc4MzI2MWMzNWU4ZDViZDEzNjhiMmJiMTI3YzdmMAo&code_challenge=PiBmgPPbp4HNo9TmNwkuKOXvtpMxBjoyzkic4lxaYeg&scope=

After calling this /account/authorize/, browser is redirected and showed AUTHORIZE dialog page with "https".
Then I tapped "AUTHORIZE" button and the page is going to "http" page.

http://rms.teltonika-networks.com/account

Then the web browser (chrome) shows error in console as following.

​​​​Refused to send form data to 'http://rms.teltonika-networks.com/' because it violates the following Content Security Policy directive: "form-action 'self' *.demorms.teltonika-networks.com".

How can I get authorized code with OAuth2.0 ?

I think I am using a trial license for RUT240.

1 Answer

0 votes
by
Hello,

Thank you for pointing this out. I was able to replicate the issue and passed this information to the R&D team. I will come back to you as soon as get any comments.

Kind regards.
by

Good news, issue of this query is fixed. Please test and provide feedback.

BR.

by

Thank you. I can get access_token and refresh_token.

by
Glad to help.

Have a nice day.