Comments (2)
I have this problem deploying it in my local. I fixed it by adding the redirection url to where the admin-ui is listening.
If your admin-ui route is "https://admin-ui.something" then that is the value for the flag "redirect_uri" when creating the client:
uaac client add admin_ui_client
--authorities clients.write,cloud_controller.admin,cloud_controller.read,cloud_controller.write,doppler.firehose,openid,scim.read,scim.write,sps.write
--authorized_grant_types authorization_code,client_credentials,refresh_token
--autoapprove true
--redirect_uri https://admin-ui.something
-s {password}
I think it is a new requirement from cf.
from admin-ui-boshrelease.
How can i `set the property redirect_uri then ... because a i got error ussing uaa 4.19.2 :
oauth:
clients:
uaa_admin:
authorities: clients.read,clients.write,clients.secret,uaa.admin,scim.read,scim.write,password.write
authorized-grant-types: password,authorization_code,client_credentials,refresh_token \
override: true
scope: cloud_controller.read,cloud_controller.write,openid,password.write,scim.userids,dataflow.view,dataflow.create,dataflow.manage
secret: uaa_secret
redirect_uri: https://uaa-service:8443
id: uaa_admin
i got
[2019-08-14 09:29:06]uaa-????[localhost-startStop-1]DEBUG-JdbcTemplate:SQL update affected 1 rows
[2019-08-14 09:29:06]uaa-????[localhost-startStop-1] WARN-XmlWebApplicationContext:Exception encountered during context initialization - cancelling refresh attempt: org.springframework.bnException: Error creating bean with name 'clientAdminBootstrap' defined in ServletContext resource [/WEB-INF/spring/oauth-clients.xml]: Invocation of init method failed; nested exceptiont", error_description="authorization_code grant type requires at least one redirect URL. ClientID: uaa_admin"
[2019-08-14 09:29:06]uaa-????[localhost-startStop-1] INFO-MBeanExporter:Unregistering JMX-exposed beans on shutdown
[2019-08-14 09:29:06]uaa-????[localhost-startStop-1] INFO-MBeanExporter:Unregistering JMX-exposed beans on shutdown
[2019-08-14 09:29:06]uaa-????[localhost-startStop-1]ERROR-DispatcherServlet:Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'clientAdminBootstrap' defined in ServletContext resource [/WEB-INF/spring/oauth-clients.xml]: Invoiled; nested exception is error="invalid_client", error_description="authorization_code grant type requires at least one redirect URL. ClientID: uaa_admin"
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1634)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
``
from admin-ui-boshrelease.
Related Issues (20)
- This page requires data from services that are currently unavailable HOT 1
- nats.address VS nats.machines in CF 228 HOT 2
- missing line in admin_ui.yml.erb HOT 2
- bosh release is failing HOT 3
- Support for multiple nats addresses HOT 4
- Page not found admin ui while accessing from browser HOT 4
- monit restart in race conditon HOT 1
- Create Release v8
- make property event_days configurable
- Create Release v9
- Tabs with error: This page requires data from services that are currently unavailable HOT 2
- Location of UAAC client HOT 1
- Update admin-ui sources and create new boshrelease
- spec property nats.machines is ignored
- Providing examples manifests and templates for Cloudstack Bosh CPI
- Unable to run bosh upload
- :q
- Update admin-ui and related libs HOT 1
- Error pulling events when using MySQL HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from admin-ui-boshrelease.