-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to Integrate or Inject Authentication authorization module in Modular Approch #68
Comments
why do you have so many root html file ? for role based auth maybe you can check out here: |
Hi, As in Single Page application there should be only one root file , that
Please suggest , thanks in advance. Thanks, On Sat, Jun 11, 2016 at 3:51 AM, VAZH [email protected] wrote:
|
Hi VAZH, as per my requirement i have created root file startup.html, that loads the
Thanks, On Sat, Jun 11, 2016 at 3:51 AM, VAZH [email protected] wrote:
|
Hi @brijesh1ec You can create some module, which would not be UI-related. For example, you can name it Hope this will help you |
@brijesh1ec you can find about auth in this Stackoverflow. i usually use nested route for such occasion. so i only use 1 html in the root of the application. |
Dear All,
i will share my code under issue. please review and do the needful. Thanks, On Mon, Jun 13, 2016 at 2:15 AM, Vladimir Lugovsky <[email protected]
|
@brijesh1ec use services if you really need to transfer data between controller. |
as of now i want to transfer the cookies and some parameter values between Yes i am using service , injected into controller. as i am new to angular, how i can using routing for nested module and Ex. parent module app.pages(page.module.js) i authenticate here and create i have tried creating controller on child module(for dashboard) injecte Thanks, On Mon, Jun 13, 2016 at 9:50 PM, VAZH [email protected] wrote:
|
like i said, use factory/services. though i dont know much about $cookies. it should work the same. |
Hi, I have attached my approach , here with services (authorization module). under module app.pages based on role & authentication i want to route it to Please suggest best better session technique in angular. Thanks, On Tue, Jun 14, 2016 at 7:27 AM, VAZH [email protected] wrote:
|
@brijesh1ec where attach ? the thing is, with cookie and session. |
Hi, i am progrssed in authentication part. i am able to put and get the value
after login page it goes to Main.html page, ISSUE-- on click of menu in sidebar it, opens the page with parent(index.html) Possible solution 1) named view should be used, Please suggest thanks in advance. Thanks, On Thu, Jun 16, 2016 at 5:37 PM, Muhammad Hariz Faza <
|
Hi, i am progrssed in authentication part. i am able to put and get the value
after login page it goes to Main.html page, ISSUE-- on click of menu in sidebar it, opens the page with parent(index.html) Possible solution 1) named view should be used, Please suggest thanks in advance. Thanks, On Tue, Jun 14, 2016 at 7:27 AM, VAZH [email protected] wrote:
|
Hi , MIssing thing is, how to load the login page.
ISSUE- Side bar and top navigation appreas, ideally login page should Solution.
ISSUE- it opens the views with parent UI-VIEW(index.html) not in child There are two UI-Views (un named). one in Index.html page, another in total there are 3 UI-VIEW, a) Index.html for login page to render, b) In Blur admin there are two UI-VIEW which works fine, why it doesn't works Please Suggest me on this. how it can be fixed. Thanks, On Thu, Jun 16, 2016 at 10:45 PM, Brijesh Pal [email protected] wrote:
|
Hi, I AM NEW to ANGULAR JS MIssing thing is, how to load the login page.
ISSUE- Side bar and top navigation appreas, ideally login page should Solution.
ISSUE- it opens the views with parent UI-VIEW(index.html) not in child There are two UI-Views (un named). one in Index.html page, another in total there are 3 UI-VIEW, a) Index.html for login page to render, b) In Blur admin there are two UI-VIEW which works fine, why it doesn't works Thanks, On Thu, Jun 16, 2016 at 10:45 PM, Brijesh Pal [email protected] wrote:
|
Dear All,
I have been trying to integrate Authentication and Authorization module for feature wise application(modular approach) . steps below tried.
under app-> Login && Logout folder with module , controller,services. which is getting the top most parent module (login & log out) .
how to access the authentication values($cookies.get(AUTH_USER) in nested/ child module.
how to share data in modular approach.
created login page, and startup page(.html) file. i have attached the folder structure how i am implementing,
Please advice and help . Thanks in advance.
.
The text was updated successfully, but these errors were encountered: