I have tried integrating odoo13 with keycloak following the steps given in the website:
https://janikvonrotz.ch/2020/04/24/odoo-oauth-authentication-with-keycloak/
After following the steps, I'm getting keycloak login page when Sign in is clicked in odoo page, validation is also done well but it is redirected to odoo login page with Access Denied Error.
I understand that keycloak creates session upon login, but odoo is unable to get any information after login.
Can anyone help to find where the error is and resolve the issue?
Thanks in advance!!
Related
We have built a provisioning with google SDK API to create and update employees in google workspace.
We are using a service user without a role and authentication using one of the admin users.
There is an issue, when the admin account we are using is set with COMPLETE API Privileges and in the user payload we are sending “suspended”: true we are getting an error back from google “403 “Not Authorized to access this resource/api” “.
If we change the admin account to SUPER ADMIN its working correctly and we are not getting an error.
We have tried cloning the Super Admin permissions, and set the admin account with the cloned permission yet again we are getting the same error.
Can anyone assist with understanding why its happening or how to overcome this issue?
Please Help!
I am unable to login into my heroku account even I know my correct login id and password due to the 2FA which was enabled mistakenly with me because I needed to deploy my app quickly.
I used Google Authenticator for generating the authentication code and logged in but next day my mobile got damaged in a way which couldn't be repaired. Due to which when again I tried to login it still asks for google generated verification code which I don't have, I contacted heroku support several times but it's been a month but still I couldn't get any satisfactory response.
They have opened some Temporary code login and provided a recovery code but still I am unable to login.
Anyone Please help me get my account
Page where I am stuck
Created a google project in Google Developer Console to have the necessary API credentials.
Configured OAuth2.0 API credentials in OAuth consent screen.
To get the Refresh token and Access token from https://developers.google.com/oauthplayground/
I got Authorization Error - 403 Access Denied when I tried to Authorize API
Authorization Error
Error 403: access_denied
The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. If you think you should have access, contact the developer (dummyemail#gmail.com).
Learn more
Any suggestions would be great.
Follow the following steps: -
Go to console screen
Select +Add Users
Enter your email in it.
Save it and you are good to go.
I am working in one project in which I need to integrate Google One Tap Login which show All accounts list that were currently logged in into browser.
One Tap Login Iframe is adding successfully in localhost environment but With the use of same PROVIDER_ID, When I deploy my project into server with staging url.
I got Issue with Open Iframe. It is always show error like "noCredentialsAvailable: No credential is available for the current user." But I already have login with two accounts in gmail.
I can't understand this kind of behaviour of Iframe.
Another question of StackOverflow say's that put button of Google for login via google. but I want to resolve this issue.
Is there any missing code from my side ?
Same Prvider ID is used in Localhost and Staging(subdomain) Still Error is occur.
I have a problem with installing OAuth2 Authentication in odoo 12.
Error:
Element '<xpath expr="//div[hasclass('o_login_auth')]">' cannot be located in parent view
How can I fix this? And how do I show the google login button on login view?
Have you made changes to your web.login view in Odoo? If you have modified it yourself or by installing modules that modify it, you could be missing the <div class="o_login_auth"/> element. This would result in the error you described.
The Google login button will be visible when you set Allowed = True for the "Google OAuth2" provider in the "OAuth Providers". You can find this setting in Odoo menu Settings / Users & Companies / OAuth Providers. You can find more information about Google OAuth2 login from Odoo documentation at https://www.odoo.com/documentation/user/12.0/general/auth/google.html.
I hope these help you forward. Please update your question and include more detailed information if you request more help from Stack Overflow community.