Expand my Community achievements bar.

SOLVED

Oauth Scope In AEM 6.5

Avatar

Level 1

Hi All,

We're trying to configure OAUTH server in AEM however, all the online tutorials are all about AEM 6.4 of which most of the APIs in package com.adobe.granite.oauth.server are not available any more in AEM 6.5 uber jar. Can anyone suggest if there's an alternative implementation/configuration in AEM 6.5 and guide us?

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Can you check the below dependencies

 

<dependency>
	<artifactId>com.adobe.granite.oauth.server</artifactId>
	<version>1.1.28</version>
	<groupId>com.adobe.granite</groupId>
	<scope>provided</scope>
</dependency>

 

 



Arun Patidar

View solution in original post

5 Replies

Avatar

Community Advisor

Hi,

Is it resolved? Let me know, we are also implementing oAuth. I can help here.



Arun Patidar

Avatar

Level 2

Hi Arun @arunpatidar ,

I'm implementing the same oAuth2 with AEM 6.5.6 but unable to resolve com.adobe.granite.oauth.server

com.adobe.granite.oauth.server.Scope;
com.adobe.granite.oauth.server.ScopeWithPrivileges;

Any help would be appreciated.

 

Thanks !
Talk. 

Avatar

Correct answer by
Community Advisor

Can you check the below dependencies

 

<dependency>
	<artifactId>com.adobe.granite.oauth.server</artifactId>
	<version>1.1.28</version>
	<groupId>com.adobe.granite</groupId>
	<scope>provided</scope>
</dependency>

 

 



Arun Patidar

Avatar

Level 2

Hi @arunpatidar ,

Thanks for quick response !

I did check this in depfinder its available but its not used by my bundle deployed. Also its not there in my dependency in pom.xml.

However when I updated my uber jar version to 6.5.5 (updated [1] dependency in main pom.xml) then it gets these API properly and works fine.

Do you mean with uber jar 6.5.0, we need to add the dependency which you suggested in main pom.xml ? in order to get these API work ?

[1] 

<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.5.5</version>
<classifier>apis</classifier>
<scope>provided</scope>
</dependency>

Thanks,

Talk.

 

Avatar

Administrator
@kinjald91769604 any further update on this?


Kautuk Sahni